<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="columns">
	<div class="four-columns six-columns-tablet twelve-columns-mobile">
		<div class="block large-margin-bottom">
			<div class="block-title">
				<h3>典型项目库</h3>
			</div>
			<ul class="list spaced">
				<c:forEach items="${uncertainPage.list }" var="uncertain">
					<li style="padding-left:10px;">
						<a href="javascript:;" onclick='viewUncertain("${uncertain.id}")'>
							<strong>${uncertain.name }</strong>
						</a>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>

	<div class="new-row-mobile four-columns six-columns-tablet twelve-columns-mobile">
		<div class="block large-margin-bottom">
			<div class="block-title">
				<h3>自设项目库</h3>
				<!-- <span class="ribbon"><span class="ribbon-inner">3 new</span></span> -->
			</div>
			<ul class="list spaced">
				<c:forEach items="${projectPage.list }" var="project">
				<li style="padding-left:10px;">
					<a href="javascript:;" onclick='viewUncertain("${project.id}")'>
						<strong>${project.name }</strong>
					</a>
				</li>
				</c:forEach>
			</ul>
		</div>
	</div>

	<div class="new-row-tablet four-columns twelve-columns-tablet">
		<div class="block large-margin-bottom">
			<div class="block-title">
				<h3>任务列表</h3>
				<!-- <span class="ribbon"><span class="ribbon-inner">3 new</span></span> -->
			</div>
			<ul class="list spaced">
				<c:forEach items="${works }" var="work">
				<li><a href="javascript:;" onclick='taskDialog(
					"${work.task_id }", "${work.order_id }", "${work.node }")'>
					<strong>${work.pname }-${work.nname }</strong></a></li>
				</c:forEach>
			</ul>
		</div>
	</div>
</div>

<!-- 第二行 -->
<div class="columns">
	<div class="four-columns six-columns-tablet twelve-columns-mobile">
		<div class="block large-margin-bottom">
			<div class="block-title">
				<h3>消息列表</h3>
				<!-- <span class="ribbon"><span class="ribbon-inner">3 new</span></span> -->
			</div>
			<ul class="list spaced">
				<c:forEach items="${msgPage.list }" var="msg">
					<li style="padding-left:10px;">
						<a href="javascript:;" onclick='newsDialog("${msg.id}")'>
							<strong>${msg.title }</strong>
						</a>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>

	<div class="new-row-mobile four-columns six-columns-tablet twelve-columns-mobile">
		<div class="block large-margin-bottom">
			<div class="block-title">
				<h3>问题列表</h3>
				<!-- <span class="ribbon"><span class="ribbon-inner">3 new</span></span> -->
			</div>
			<ul class="list spaced">
				<c:forEach items="${askPage.list }" var="ask">
					<li style="padding-left:10px;">
						<a href="javascript:;" onclick='viewAsk("${ask.id}")'>
							<c:if test="${ask.status eq 1 }">
								<c:choose>
									<c:when test="${ask.is_read eq 0 }">
										<img src="/img/icon/email.png">
									</c:when>
									<c:when test="${ask.is_read eq 1 }">
										<img src="/img/icon/email_open.png">
									</c:when>
								</c:choose>
							</c:if>
							<strong>${ask.title }</strong>
						</a>
					</li>
				</c:forEach>
			</ul>
		</div>
	</div>
</div>